Mailbox Types for Unordered Interactions

نویسندگان

  • Ugo de'Liguoro
  • Luca Padovani
چکیده

We propose a type system for reasoning on protocol conformance and deadlock freedom in networks of processes that communicate through unordered mailboxes. We model these networks in the mailbox calculus, a mild extension of the asynchronous π-calculus with first-class mailboxes and selective input. The calculus subsumes the actor model and allows us to analyze networks with dynamic topologies and varying number of processes possibly mixing different concurrency abstractions. Well-typed processes are deadlock free and never fail because of unexpected messages. For a non-trivial class of them, junk freedom is also guaranteed. We illustrate the expressiveness of the calculus and of the type system by encoding instances of non-uniform, concurrent objects, binary sessions extended with joins and forks, and some known actor benchmarks. 1998 ACM Subject Classification D.1.3 Concurrent Programming; D.3.3 Language Constructs and Features (Concurrent programming structures, Input/output); F.1.2 Modes of Computation (Parallelism and concurrency); F.3.3 Studies of Program Constructs (Type structure).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Formal Model of Asynchronous Broadcast Communication

We present a mathematical model, called Asynchronous Broadcast Networks (ABN), of distributed computation based on topology-dependent and asyn-chronous communication. Our model combines three main features: a graph representation of a network configuration decoupled from the specification of individual process behavior, a topology-dependent semantics of synchronization, the use of local mailbox...

متن کامل

Efficient Subtyping for Unordered XML Types

While XML is an ordered data format, many applications outside the document processing area just drop ordering and manipulate XML data as they were unordered. In these contexts, hence, XML is essentially used as a way for representing unordered, unranked trees. The wide use of unordered XML data should be coupled with a careful and detailed analysis of their theoretical properties. One of the o...

متن کامل

Mailbox Names for Common Services, Roles and Functions

Status of this Memo This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited. ABSTRACT This specification enumerates an...

متن کامل

Seamless Handoff Using Mailbox Approach

Mobile IP is used to keep track of location information and make the data available to the mobile devices anytime, anywhere. Mobile IP has been widely accepted but lacks in providing seamless handoff. We have proposed a framework for wireless network that uses a flexible and adaptive mailbox-based scheme. In this scheme a mailbox associated with each mobile node while allowing de coupling betwe...

متن کامل

Inter-Agent Communication: A Cost-Reduction Approach Using an Autonomous Mobile Mailbox

In this paper, we consider a mobile mailbox communication scheme to reduce inter-agent communication costs. We employ a mailbox mobility strategy based on the ability of the mailbox to predict variations in inbound message rates and to migrate , if necessary, to a potentially better position in the network.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1801.04167  شماره 

صفحات  -

تاریخ انتشار 2018